/*****************************************************************************************
This file is a part of Arise library.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

Arise Engine		Gui.cpp

					E-mail:		arise_engine@mail.ru

created:			27.01.2008
last changes:		27.01.2008
*****************************************************************************************/
#include "stdafx.h"


Gui::Gui()
{
	m_active_window = 0;
}
Gui::~Gui()
{
}


void Gui::Init()
{
}


void Gui::Update(float m_delta, float cursor_x, float cursor_y, InputEvent* event)
{
	if(m_active_window)
	{
		if(1/*input.mouse_change_pos*/)
			m_active_window->MouseMove(0,0/*m.change_x, m.change_y*/);
		m_active_window->Update(m_delta, cursor_x, cursor_y, event);
	}
}


void Gui::Render()
{
}

void Gui::Release()
{
}